package com.jasper.service.center;

import com.jasper.pojo.Orders;
import com.jasper.pojo.vo.OrderStatusCountsVO;
import com.jasper.utils.PagedGridResult;

public interface MyOrderService {
    PagedGridResult queryMyOrders(String userId, Integer orderStatus, Integer page, Integer pageSize);
    void updateOrderStatus(String orderId);
    Orders queryMyOrder(String userId, String orderId);
    boolean updateReceiveOrderStatus(String orderId);

    boolean deleteOrder(String userId, String orderId);

    OrderStatusCountsVO getMyOrderStatusCounts(String userId);
    PagedGridResult getMyOrderTrend(String userId, Integer page, Integer pageSize);
}
